/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-09-01 11:15:44
 * @LastEditors: voanit
 * @LastEditTime: 2022-09-01 11:22:38
 */
import { createStore } from 'vuex'

const store = createStore({
  state: {
    money: 100,
  },
  mutations: {
    double(state) {
      state.money = state.money * 2
    },
  },
  actions: {},
  getters: {},
})

export default store
